import React from "react";
import ReactDOM from "react-dom";
// 在这引入全局的less文件
import "@/assets/style/common.less";
// 导入router
import router from "./rotuer";
// 在这引入 Provider 和 store 全局共享数据
import { Provider } from "react-redux";
import store from "./store";
import Toast from "./components/Toast";

ReactDOM.render(
  <Provider store={store}>
    <Toast />
    {router}
  </Provider>,
  document.getElementById("root")
);
